package cn.lhn.ridersclub.service;

import cn.lhn.ridersclub.entity.ClubClassify;
import cn.lhn.ridersclub.mapper.ClubClassifyMapper;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ClubClassifyServiceImpl implements ClubClassifyService {

    private final ClubClassifyMapper mapper;

    public ClubClassifyServiceImpl(ClubClassifyMapper mapper) {
        this.mapper = mapper;
    }

    @Override
    public List<ClubClassify> getAllClassify() {
        return mapper.selectList(null);
    }
}
